<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * 用户优惠券
 * @package App\Models
 */
class UserCoupons extends Model
{
    protected $table = 'user_coupons';

    protected $fillable = ['status'];

    public function coupon()
    {
        return $this->hasOne(Coupon::class,'id','coupon_id');
    }
}
